﻿using Common.Interfaces;
using Domain.ValueObjects;
using Shared.Domain.Abstructs;

namespace Domain.Events
{
    /// <summary>
    /// 用户手机号更改事件
    /// </summary>
    /// <param name="UserId"></param>
    /// <param name="NewNumber"></param>
    /// <param name="OldNumber"></param>
    public record UserPhoneNumberUpdated(Guid UserId, PhoneNumber OldNumber, PhoneNumber NewNumber) : BaseDomainEvent;
}
